#pragma once
#include "TCharSupport.h"
#include "EpilExpressionCodeBase.h"


class EpilDoubleExpressionCode : public EpilExpressionCodeBase
{
	EPIL_CODE_DECL( DoubleExpression );

public:
	EpilDoubleExpressionCode( const EpilLexLocation & location );
	virtual ~EpilDoubleExpressionCode();

	double								GetValue() const									{ return m_value; }
	void								SetValue( double value )							{ m_value = value; }
	
	virtual tstring						ToEpilCode( int indent = 0 ) const;

private:
	double								m_value;
};